<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script>
			window.onload = function(){

				var obtn = document.getElementsByTagName("input")[0];
				var str = '';
				obtn.onclick = function(){
					str += '<input type="text" />';
				}
			}
		</script>
	</head>
	<body>

		<input type="button"　id="btn1" value="创建" />
	</body>
</html>
